#include "sock_msg_ctl.h"
#include "resource_manage.h"
#include "gp_layout_map.h"
#include "../lua/action_msg.h"
#include <unistd.h>
#include "gp_dj_ctl.h"

CResource_Manage * g_resourceManage = NULL;

CResource_Manage * getResourceManage(void)
{
    return g_resourceManage;
}


int main(int argc, char * argv[])
{
    init_msg_buff_list();
    initSockServer(1);

    initLuaActMsg();

    CGpLayout * pInstance = CGpLayout::get_instance();

    CResource_Manage * pstResource = new CResource_Manage();
    

    g_resourceManage = pstResource;

    //test_hash();

    //djCleanProcedure_q();
    while(1)
    {
        usleep(200);
    }
}